using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using Deepcode.Flux.Core.Systems.CMS;
using Deepcode.Flux.Core.Systems.CMS.DataTaxonomy;

public partial class Private_CMS_taxonomy_nothing : Deepcode.Flux.Core.UI.AdministrationModulePage
{
	#region Permission Code Override
	public override string RequiredPermissionCode { get { return "FluxDTAccess"; } }
	#endregion
	#region Page Load Event
	/// <summary>
	/// Page Load event
	/// </summary>
	/// <param name="sender"></param>
	/// <param name="e"></param>
	protected void Page_Load(object sender, EventArgs e)
	{
		if (!Page.IsPostBack)
		{
			if (LASTPATH != 0)
				Response.Redirect(String.Format("actions.aspx?parentID={0}", LASTPATH), true);
		}
	}
	/// <summary>
	/// Retrieves information about the last accessed path
	/// so that when re-binding data we can go to this location.
	/// </summary>
	protected int __LASTPATH = 0;
	protected int LASTPATH
	{
		get
		{
			if (__LASTPATH != 0) return __LASTPATH;
			__LASTPATH = this.UserSetting("TAXLASTPATH", -1);
			
			return __LASTPATH;
		}
	}
	#endregion
}
